<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>{$site.name|htmlentities}</title>
    <link rel="shortcut icon" href="__CDN__/assets/img/favicon.ico"/>
    <link href="__CDN__/assets/css/index.css" rel="stylesheet">

    <!-- Bootstrap Core CSS -->
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- Plugin CSS -->
    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link href="https://cdn.bootcdn.net/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.min.css" rel="stylesheet">
</head>

<body>
    <div class="container">
        <h1>FastAdmin 简易留言板入门课</h1>
        <div class="row">
            <!-- 页面左侧 -->
            <div class="col-md-8">
                <table class="table table-hover">
                    <thread>
                        <tr>
                            <th>#</th>
                            <th>留言标题</th>
                            <th>留言内容</th>
                            <th>发布时间</th>
                        </tr>
                    </thread>
                    <tbody>
                    {volist name='list' id='obj'}
                    <tr>
                        <th scope="row">1</th>
                        <th>{$obj.title}</th>
                        <th>{$obj.content}</th>
                        <th>{$obj.createtime}</th>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
                {$list->render()}
            </div>
            <!-- 页面右侧 -->
            <div class="col-md-4">.col-md-4</div>
        </div>
    </div>
</body>
</html>
